home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1990 / Sep 90 / MacApp.Tech$ 9⁄7⁄90 / 1937-Re FW Enough C++, MI-Sep90 < prev    next >
Encoding:
Text File  |  1991-03-06  |  982 b   |  29 lines  |  [TEXT/GEOL]

  1. Item    3641226                         7-Sept-90        05:35PDT
  2.  
  3. From:   SCHMUCKER1                      Schmucker, Kurt
  4.  
  5. To:     PHAROS.TECH                     Pharos Tech, Tech Staff,PRT
  6.  
  7. cc:     MACAPP.TECH$                    MacApp Technical
  8.  
  9. Sub:    Re: FW: Enough C++, MI…
  10.  
  11. >  TUnitText = Object(TStaticText)
  12. >    Procedure TStaticText.GetText (Var theText: Str255);
  13. >    OVERRIDE;
  14. >   End;
  15.  
  16. >This should be a syntax error!  Look at the Object name in the procedure name.
  17. >THINK doesn't complain!
  18.  
  19.  
  20.     I, too, found this "feature".  I happened to meet the THINK Pascal compiler
  21. developer and asked him about it.  He thought that given the context (inside
  22. the OBJECT block), checking the name of the class in the method header was
  23. superfluous, so he deliberately didn't do it.  So this really isn't a bug, just
  24. a disagreement over what is syntactically important.  However, I agree with you
  25. that this should be checked and told him of my opinion.
  26.  
  27.         Kurt
  28.  
  29.